package com.ruoyi.project.goods.goods.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 商品对象 goods
 * 
 * @author lonsn
 * @date 2020-11-04
 */
public class Goods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /** 条码 */
    @Excel(name = "条码")
    private String barCode;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 尺码 */
//    @Excel(name = "尺码")∂
    private Integer size;

//    /** 尺码 */
//    @Excel(name = "尺码")
    private Integer size2;

    /** 款号 */
    @Excel(name = "款号")
    private String styleNumber;

    /** 吊牌价 */
    @Excel(name = "吊牌价")
    private Double tagPrice;

    /** 优惠价 */
    @Excel(name = "优惠价")
    private Double preferentialPrice;

    /** 颜色 */
    @Excel(name = "颜色")
    private String color;

    /** 单位 */
    @Excel(name = "单位")
    private Integer unit;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String name;

    /** 商品图片 */
    @Excel(name = "商品图片",isImage = true)
    private String imgPath;








    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setBarCode(String barCode)
    {
        this.barCode = barCode;
    }

    public String getBarCode()
    {
        return barCode;
    }
    public void setBrand(String brand)
    {
        this.brand = brand;
    }

    public String getBrand()
    {
        return brand;
    }
    public void setSize(Integer size)
    {
        this.size = size;
    }

    public Integer getSize()
    {
        return size;
    }
    public void setSize2(Integer size2)
    {
        this.size2 = size2;
    }

    public Integer getSize2()
    {
        return size2;
    }
    public void setStyleNumber(String styleNumber)
    {
        this.styleNumber = styleNumber;
    }

    public String getStyleNumber()
    {
        return styleNumber;
    }
    public void setTagPrice(Double tagPrice)
    {
        this.tagPrice = tagPrice;
    }

    public Double getTagPrice()
    {
        return tagPrice;
    }


    public void setUnit(Integer unit)
    {
        this.unit = unit;
    }

    public Integer getUnit()
    {
        return unit;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("barCode", getBarCode())
            .append("brand", getBrand())
            .append("size", getSize())
            .append("size2", getSize2())
            .append("styleNumber", getStyleNumber())
            .append("tagPrice", getTagPrice())
            .append("preferentialPrice", getPreferentialPrice())
            .append("color", getColor())
            .append("unit", getUnit())
            .append("name", getName())
            .toString();
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public Double getPreferentialPrice() {
        return preferentialPrice;
    }

    public void setPreferentialPrice(Double preferentialPrice) {
        this.preferentialPrice = preferentialPrice;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }


    //扩展，为上传



}
